package com.xuexiang.xui_lib.component.status;

import ohos.agp.components.Component;

public interface IStatusLayout {

   public void showContent();

    public void showLoading(int resId);

    public void showLoading(String message);

    public void showEmpty();

    public void showEmpty(int resId);

    public void showEmpty(String message);

    public  void showError(Component.ClickedListener clickListener);

    public void showError(int resId, Component.ClickedListener clickListener);

    public void showError(String message, Component.ClickedListener clickListener);

    public void showError(String message, String buttonText, Component.ClickedListener clickListener);

    public void showOffline(Component.ClickedListener clickListener);

    public void showOffline(int resId, Component.ClickedListener clickListener);

    public void showOffline(String message, Component.ClickedListener clickListener);

    public void showOffline(String message, String buttonText, Component.ClickedListener clickListener);

    public void showLocationOff(Component.ClickedListener clickListener);

    public void showLocationOff(int resId, Component.ClickedListener clickListener);

    public void showLocationOff(String message, Component.ClickedListener clickListener);

    public void showLocationOff(String message, String buttonText, Component.ClickedListener clickListener);

    public void showCustom(CustomStateOptions options);
}
